package com.aaa.hospital.ManagementEnd.pojo;


import com.aaa.hospital.Client.pojo.Department;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@NoArgsConstructor
@Data
@AllArgsConstructor
public class Medicine {
    private Integer ypid;
    private String ypname;
    private String normsid;
    private Integer unitid;
    private Integer price;
    private Integer num;
    private Integer yfid;
    private String notes;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date sctime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date sxtime;
}
